package com.cjl.food.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;


/**
 * @author cjl
 * @version v1.0
 * @description TODO
 * @createTime 2023/2/14 15:49
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ApiModel(value = "FoodDto",description = "菜品信息dto")
public class FoodDto {

    @ApiModelProperty("菜名")
    private String name;


    @ApiModelProperty("价格")
    private Double price;

    @ApiModelProperty("菜品描述")
    private String description;

    @ApiModelProperty("状态：0-停止售卖 1-上架 2-缺货")
    private Short status;
}
